<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			var person = {
				firstname: "强",
				lastname:"陈",
				age:18,
				fullname1:function(){
					return person.lastname + this.firstname;
				}
			}
			console.log(person);
			console.log(person.lastname);
			console.log(person.age);
			console.log(person.fullname1());
			person.address = "冰城";
			person.fullname2 = function(){
				return person.lastname+person.firstname+","+person.age;
			}
			console.log(person);
			console.log(person.fullname2());
		</script>
	</body>
</html>
